package com.bgs.mapper;

import com.bgs.pojo.FinWrite;
import com.bgs.pojo.Finance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FinanceMapper {
    int deleteByPrimaryKey(Integer financeId);

    int insert(Finance record);

    int insertSelective(Finance record);

    Finance selectByPrimaryKey(Integer financeId);

    int updateByPrimaryKeySelective(Finance record);

    int updateByPrimaryKey(Finance record);

    List<Finance> findAllFinance(@Param("number") String number, @Param("orderType") Integer orderType);

    Finance findAllMoney(Integer storeId);

    int addMoney(FinWrite finWrite);

    void addFinance(FinWrite finWrite);

    void addWrite(FinWrite finWrite);

    int addMoneyy(FinWrite finWrite);

    void addFinancee(FinWrite finWrite);

    void addWritee(FinWrite finWrite);
}